body {
	font-size: 12px;
	font-family: sans-serif;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

h1,h2,h3,h4,h5,h6 {
	margin: 0 0 1em;
	font-weight: bold;
	background: #000;
	color: #FFF;
	padding: 0.2em;
}

.error {
	color: #C00;
	font-weight: bolder;
}

p {
	margin: 1ex 2em;
}

a {
	text-decoration: none;
	font-weight: bold;
	color: inherit;
}

a:before {
	content: '[ ';
}

a:after {
	content: ' ]';
}

a:hover {
	text-decoration: none;
	color: #FFF;
	background: #000;
}

label {
	font-size: smaller;
}

table {
	border: 1px solid #444;
	border-collapse: collapse;
	width: 95%;
	margin: 1em auto;
}

td,
th {
	border: 1px solid #999;
	padding: 2px 3px;
}

.game {
	width: 45%;
	float: left;
	margin: 1em 2.4%;
}

.game tr[onclick]:hover {
	cursor: pointer;
	background: #DDD;
}

.game .alt {
	background: #EEE;
}

.game .turn {
	color: red;
	font-weight: bold;
}

caption {
	margin-bottom: 0;
	padding-bottom: 0;
	font-weight: bold;
	font-size: smaller;
}

#footer {
	position: absolute;
	bottom: 0;
	left: 2.5%;
	text-align: center;
	background: #000;
	color: #FFF;
	padding: 0.2em;
	width: 95%;
	font-size: smaller;
}

#footer a {
	text-decoration: underline;
}

#footer a:before,
#footer a:after,
#links a:before,
#links a:after {
	content: '';
}

#footer a:hover {
	text-decoration: none;
}

.center {
	text-align: center;
}

/* links stuff */
#links {
	float: right;
	margin: 5px 1em;
	font-weight: bold;
	color: #FFF;
}

#links a {
	color: #DDD;
	text-decoration: none;
	padding: 0 0.5ex;
}

#links a:hover {
	background: #DDD;
	color: #000;
	border: 1px solid #FFF;
	margin: -1px;
}